.PHONY:
all:otherExe mycommand

mycommand:mycommand.c
	gcc -o $@ $^ -std=c99
otherExe:otherExe.cc
	g++ -o $@ $^ -std=c++11
.PHONY:clean
clean:
	rm mycommand oterExe -f
